<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>重庆三峡学院教务管理系统</title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="images/y.jpg" class="radius-circle rotate-hover" height="50" alt=""/>重庆三峡学院教务管理系统</h1>
    </div>
    <div class="head-l"><a class="button button-little bg-green" href="" target="_blank"><span class="icon-home"></span>
        前台首页</a> &nbsp;&nbsp;<a href="##" class="button button-little bg-blue"><span class="icon-wrench"></span>
        清除缓存</a> &nbsp;&nbsp;<a class="button button-little bg-red" href="login.html"><span
            class="icon-power-off"></span> 退出登录</a></div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>


    <c:forEach items="${firstLvMenuList }" var="firstLvMenu">
        <c:if test="${firstLvMenu.p_id==1}">
            <h2><span class="icon-user"></span>${firstLvMenu.name}</h2>
            <ul style="display:block">
                <c:forEach items="${menuLvMap }" var="menuLvMap">
                    <c:if test="${firstLvMenu.permission_id == menuLvMap.key}">
                        <c:forEach items="${menuLvMap.value }" var="scdLvMenu">
                            <li><a href="<%=basePath%>${scdLvMenu.url }" target="right"><span
                                    class="icon-caret-right"></span>${scdLvMenu.name }</a></li>
                        </c:forEach>
                    </c:if>
                </c:forEach>
            </ul>
        </c:if>
    </c:forEach>


    <!--
      <c:forEach items="${firstLvMenuList }" var="firstLvMenu">
        <c:if test="${firstLvMenu.p_id==1}">
            <dd><div class="title"><span><img src="images/leftico03.png" /></span>${firstLvMenu.name  }</div>
                <ul class="menuson">
                    <c:forEach items="${menuLvMap }" var="menuLvMap">
                        <c:if test="${firstLvMenu.permission_id == menuLvMap.key}">
                            <c:forEach items="${menuLvMap.value }" var="scdLvMenu">
                                <li><cite></cite><a href="<%=basePath%>${scdLvMenu.url }"  target="rightFrame">${scdLvMenu.name }</a><i></i></li>
                            </c:forEach>
                        </c:if>
                    </c:forEach>
                </ul>
            </dd>
        </c:if>
    </c:forEach>
  
  
  
    
  <h2><span class="icon-pencil-square-o"></span>邮件管理</h2>
  <ul>
    <li><a href="list.html" target="right"><span class="icon-caret-right"></span>写邮件</a></li>
    <li><a href="add.html" target="right"><span class="icon-caret-right"></span>收件箱</a></li>
    <li><a href="cate.html" target="right"><span class="icon-caret-right"></span>发件箱</a></li>
    <li><a href="add.html" target="right"><span class="icon-caret-right"></span>草稿箱</a></li>
    <li><a href="cate.html" target="right"><span class="icon-caret-right"></span>垃圾箱</a></li>           
  </ul>
   -->

</div>
<script type="text/javascript">
    $(function () {
        $(".leftnav h2").click(function () {
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function () {
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
<ul class="bread">
    <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
    <li><b>当前语言：</b><span style="color:red;">中文</php></span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="<%=basePath%>view/frame/info.jsp" name="right" width="100%"
            height="100%"></iframe>
</div>
<div style="text-align:center;">
    <p>来源:<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>
</div>
</body>
</html>